<?	include('includes/loader.inc.php');

$url = preg_replace('/^.+?\/?(es|en)\//i', '', $_SERVER['HTTP_REFERER'], -1, $cant);

// Defino la url a la que voy a redireccionar
$url = ($cant)? '/'.$lang.'/'.$url : '/'.$lang.'/';

header("Location: $url");
exit;


?>
